package com.ruoyi.iot.domain;

import java.io.Serializable;

public class CollectTask implements Serializable {

    private String id;

    private String taskname;

    private String tasktype;

    private String createuserid;

    private String createname;

    private String taskstate;

    private String longitude;

    private String latitude;

    private String toward;

    private String updateuserid;

    private String updateusername;

    private String createdate;

    private String updatedate;

    private String geom;

    private String provincecode;

    private String provincename;

    private String citycode;

    private String cityname;

    private String countycode;

    private String countyname;

    private String remark;

    private String isitrelated;

    private String pch;

    private String onlycode;

    @Override
    public String toString() {
        return "CollectTask{" +
                "id='" + id + '\'' +
                ", taskname='" + taskname + '\'' +
                ", tasktype='" + tasktype + '\'' +
                ", createuserid='" + createuserid + '\'' +
                ", createname='" + createname + '\'' +
                ", taskstate='" + taskstate + '\'' +
                ", longitude='" + longitude + '\'' +
                ", latitude='" + latitude + '\'' +
                ", toward='" + toward + '\'' +
                ", updateuserid='" + updateuserid + '\'' +
                ", updateusername='" + updateusername + '\'' +
                ", createdate='" + createdate + '\'' +
                ", updatedate='" + updatedate + '\'' +
                ", geom='" + geom + '\'' +
                ", provincecode='" + provincecode + '\'' +
                ", provincename='" + provincename + '\'' +
                ", citycode='" + citycode + '\'' +
                ", cityname='" + cityname + '\'' +
                ", countycode='" + countycode + '\'' +
                ", countyname='" + countyname + '\'' +
                ", remark='" + remark + '\'' +
                ", isitrelated='" + isitrelated + '\'' +
                '}';
    }

    public String tojson() {
    	return "{\"id\":\""+id+"\","
    			+ "\"taskname\":\""+taskname+"\","
    					+ "\"tasktype\":\""+tasktype+"\","
    					+"\"createuserid\":\""+createuserid+"\","
    					+"\"createname\":\""+createname+"\","
    					+"\"taskstate\":\""+taskstate+"\","
    					+"\"longitude\":\""+longitude+"\","
    					+"\"latitude\":\""+latitude+"\","
    					+"\"toward\":\""+toward+"\","
    					+"\"updateuserid\":\""+updateuserid+"\","
    					+"\"updateusername\":\""+updateusername+"\","
    					+"\"createdate\":\""+createdate+"\","
    					+"\"updatedate\":\""+updatedate+"\","
    					+"\"provincecode\":\""+provincecode+"\","
    					+"\"provincename\":\""+provincename+"\","
    					+"\"citycode\":\""+citycode+"\","
    					+"\"cityname\":\""+cityname+"\","
    					+"\"countycode\":\""+countycode+"\","
    					+"\"countyname\":\""+countyname+"\","
    					+"\"remark\":\""+remark+"\","
    					+"\"isitrelated\":\""+isitrelated+"\""
    							+ "}";
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTaskname() {
        return taskname;
    }

    public void setTaskname(String taskname) {
        this.taskname = taskname;
    }

    public String getTasktype() {
        return tasktype;
    }

    public void setTasktype(String tasktype) {
        this.tasktype = tasktype;
    }

    public String getCreateuserid() {
        return createuserid;
    }

    public void setCreateuserid(String createuserid) {
        this.createuserid = createuserid;
    }

    public String getCreatename() {
        return createname;
    }

    public void setCreatename(String createname) {
        this.createname = createname;
    }

    public String getTaskstate() {
        return taskstate;
    }

    public void setTaskstate(String taskstate) {
        this.taskstate = taskstate;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getToward() {
        return toward;
    }

    public void setToward(String toward) {
        this.toward = toward;
    }

    public String getUpdateuserid() {
        return updateuserid;
    }

    public void setUpdateuserid(String updateuserid) {
        this.updateuserid = updateuserid;
    }

    public String getUpdateusername() {
        return updateusername;
    }

    public void setUpdateusername(String updateusername) {
        this.updateusername = updateusername;
    }

    public String getCreatedate() {
        return createdate;
    }

    public void setCreatedate(String createdate) {
        this.createdate = createdate;
    }

    public String getUpdatedate() {
        return updatedate;
    }

    public void setUpdatedate(String updatedate) {
        this.updatedate = updatedate;
    }

    public String getGeom() {
        return geom;
    }

    public void setGeom(String geom) {
        this.geom = geom;
    }

    public String getProvincecode() {
        return provincecode;
    }

    public void setProvincecode(String provincecode) {
        this.provincecode = provincecode;
    }

    public String getProvincename() {
        return provincename;
    }

    public void setProvincename(String provincename) {
        this.provincename = provincename;
    }

    public String getCitycode() {
        return citycode;
    }

    public void setCitycode(String citycode) {
        this.citycode = citycode;
    }

    public String getCityname() {
        return cityname;
    }

    public void setCityname(String cityname) {
        this.cityname = cityname;
    }

    public String getCountycode() {
        return countycode;
    }

    public void setCountycode(String countycode) {
        this.countycode = countycode;
    }

    public String getCountyname() {
        return countyname;
    }

    public void setCountyname(String countyname) {
        this.countyname = countyname;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getIsitrelated() {
        return isitrelated;
    }

    public void setIsitrelated(String isitrelated) {
        this.isitrelated = isitrelated;
    }

    public String getPch() {
        return pch;
    }

    public void setPch(String pch) {
        this.pch = pch;
    }

    public String getOnlycode() {
        return onlycode;
    }

    public void setOnlycode(String onlycode) {
        this.onlycode = onlycode;
    }
}
